package com.campus.common.message;

import java.io.Serializable;
import com.campus.common.vo.Teacher;

public class TeacherAccountManagementRequest extends BaseMessage implements Serializable {
    private String action;  // "list", "borrow", "return"
    private String teacherId;
    private Teacher teacher;
    private String searchId;
    private String searchName;


    public TeacherAccountManagementRequest() {}
    public TeacherAccountManagementRequest(String action, String teacherId) {
        this.action = action;
        this.teacherId = teacherId;
    }
    public TeacherAccountManagementRequest(String action, Teacher teacher) {
        this.action = action;
        this.teacher = teacher;
    }
    public TeacherAccountManagementRequest(String action, String searchId, String searchName) {
        this.action = action;
        this.searchName = searchName;
        this.searchId = searchId;
    }

    public String getAction() { return action; }
    public String getTeacherId() { return teacherId; }
    public Teacher getTeacher() { return teacher; }
    public String getSearchId() { return searchId; }
    public String getSearchName() { return searchName ; }
}